package com.gralves.elasticsearch.utils.util.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elasticsearch.search.sort.SortOrder;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author zhouyibin
 * @date 2018/12/28
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQuery implements Serializable {
    private Integer pageNum;
    private Integer pageSize;
    private String sortField;
    private SortOrder sortOrder;
    ArrayList<QueryParam> queryParams;
}
